package cn.s1995.sloth.bizs.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;
import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import java.time.LocalDateTime;

/**
 * 用户收藏记录
 *
 * @author sloth
 * @date 2023-12-23 09:31:27
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户收藏记录")
@TableName("biz_user_collection")
public class UserCollection extends BaseEntity {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "ID")
    private Long id;

	/**
	* 类型：1.产品 2.店铺 3.视频
	*/
    @Schema(description = "类型：1.产品 2.店铺 3.视频")
    private Integer type;

	/**
	* 用户id
	*/
    @Schema(description = "用户id")
    private Long uid;

	/**
	* 绑定id(关联的产品|店铺|视频)
	*/
    @Schema(description = "绑定id(关联的产品|店铺|视频)")
    private Long bindId;
}
